Optimal. Leaf size=162 \[ \frac {10 F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{3 a^2 d}+\frac {7 E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{a^2 d}-\frac {7 \sin (c+d x)}{3 a^2 d \cos ^{\frac {3}{2}}(c+d x) (\cos (c+d x)+1)}+\frac {10 \sin (c+d x)}{3 a^2 d \cos ^{\frac {3}{2}}(c+d x)}-\frac {7 \sin (c+d x)}{a^2 d \sqrt {\cos (c+d x)}}-\frac {\sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) (a \cos (c+d x)+a)^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.24, antiderivative size = 162, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {2766, 2978, 2748, 2636, 2641, 2639} \[ \frac {10 F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{3 a^2 d}+\frac {7 E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{a^2 d}-\frac {7 \sin (c+d x)}{3 a^2 d \cos ^{\frac {3}{2}}(c+d x) (\cos (c+d x)+1)}+\frac {10 \sin (c+d x)}{3 a^2 d \cos ^{\frac {3}{2}}(c+d x)}-\frac {7 \sin (c+d x)}{a^2 d \sqrt {\cos (c+d x)}}-\frac {\sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) (a \cos (c+d x)+a)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2636
Rule 2639
Rule 2641
Rule 2748
Rule 2766
Rule 2978
Rubi steps
\begin {align*} \int \frac {1}{\cos ^{\frac {5}{2}}(c+d x) (a+a \cos (c+d x))^2} \, dx &=-\frac {\sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^2}+\frac {\int \frac {\frac {9 a}{2}-\frac {5}{2} a \cos (c+d x)}{\cos ^{\frac {5}{2}}(c+d x) (a+a \cos (c+d x))} \, dx}{3 a^2}\\ &=-\frac {7 \sin (c+d x)}{3 a^2 d \cos ^{\frac {3}{2}}(c+d x) (1+\cos (c+d x))}-\frac {\sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^2}+\frac {\int \frac {15 a^2-\frac {21}{2} a^2 \cos (c+d x)}{\cos ^{\frac {5}{2}}(c+d x)} \, dx}{3 a^4}\\ &=-\frac {7 \sin (c+d x)}{3 a^2 d \cos ^{\frac {3}{2}}(c+d x) (1+\cos (c+d x))}-\frac {\sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^2}-\frac {7 \int \frac {1}{\cos ^{\frac {3}{2}}(c+d x)} \, dx}{2 a^2}+\frac {5 \int \frac {1}{\cos ^{\frac {5}{2}}(c+d x)} \, dx}{a^2}\\ &=\frac {10 \sin (c+d x)}{3 a^2 d \cos ^{\frac {3}{2}}(c+d x)}-\frac {7 \sin (c+d x)}{a^2 d \sqrt {\cos (c+d x)}}-\frac {7 \sin (c+d x)}{3 a^2 d \cos ^{\frac {3}{2}}(c+d x) (1+\cos (c+d x))}-\frac {\sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^2}+\frac {5 \int \frac {1}{\sqrt {\cos (c+d x)}} \, dx}{3 a^2}+\frac {7 \int \sqrt {\cos (c+d x)} \, dx}{2 a^2}\\ &=\frac {7 E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{a^2 d}+\frac {10 F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{3 a^2 d}+\frac {10 \sin (c+d x)}{3 a^2 d \cos ^{\frac {3}{2}}(c+d x)}-\frac {7 \sin (c+d x)}{a^2 d \sqrt {\cos (c+d x)}}-\frac {7 \sin (c+d x)}{3 a^2 d \cos ^{\frac {3}{2}}(c+d x) (1+\cos (c+d x))}-\frac {\sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 5.85, size = 364, normalized size = 2.25 \[ \frac {\cos ^4\left (\frac {1}{2} (c+d x)\right ) \left (-\frac {\csc \left (\frac {c}{2}\right ) \sec \left (\frac {c}{2}\right ) \left (82 \cos \left (\frac {1}{2} (c-d x)\right )+65 \cos \left (\frac {1}{2} (3 c+d x)\right )+68 \cos \left (\frac {1}{2} (c+3 d x)\right )+37 \cos \left (\frac {1}{2} (5 c+3 d x)\right )+53 \cos \left (\frac {1}{2} (3 c+5 d x)\right )+10 \cos \left (\frac {1}{2} (7 c+5 d x)\right )+21 \cos \left (\frac {1}{2} (5 c+7 d x)\right )\right ) \sec ^3\left (\frac {1}{2} (c+d x)\right )}{8 d \cos ^{\frac {3}{2}}(c+d x)}+\frac {4 i \sqrt {2} e^{-i (c+d x)} \left (21 \left (-1+e^{2 i c}\right ) \sqrt {1+e^{2 i (c+d x)}} \, _2F_1\left (-\frac {1}{4},\frac {1}{2};\frac {3}{4};-e^{2 i (c+d x)}\right )-10 \left (-1+e^{2 i c}\right ) e^{i (c+d x)} \sqrt {1+e^{2 i (c+d x)}} \, _2F_1\left (\frac {1}{4},\frac {1}{2};\frac {5}{4};-e^{2 i (c+d x)}\right )+21 \left (1+e^{2 i (c+d x)}\right )\right )}{\left (-1+e^{2 i c}\right ) d \sqrt {e^{-i (c+d x)} \left (1+e^{2 i (c+d x)}\right )}}\right )}{3 a^2 (\cos (c+d x)+1)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 1.03, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\sqrt {\cos \left (d x + c\right )}}{a^{2} \cos \left (d x + c\right )^{5} + 2 \, a^{2} \cos \left (d x + c\right )^{4} + a^{2} \cos \left (d x + c\right )^{3}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{{\left (a \cos \left (d x + c\right ) + a\right )}^{2} \cos \left (d x + c\right )^{\frac {5}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 1.03, size = 413, normalized size = 2.55 \[ -\frac {\sqrt {-\left (-2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+1\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \left (\frac {\sqrt {-2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )}}{3 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )^{3}}+\frac {6 \sqrt {-2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )}}{\cos \left (\frac {d x}{2}+\frac {c}{2}\right )}-\frac {22 \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {-2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+1}\, \EllipticF \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right )}{3 \sqrt {-2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )}}+\frac {14 \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {-2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+1}\, \left (\EllipticF \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right )-\EllipticE \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right )\right )}{\sqrt {-2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )}}+\frac {16 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) \cos \left (\frac {d x}{2}+\frac {c}{2}\right )}{\sqrt {-\left (-2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+1\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}}-\frac {2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {-2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )}}{3 \left (-\frac {1}{2}+\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )^{2}}\right )}{2 a^{2} \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{{\left (a \cos \left (d x + c\right ) + a\right )}^{2} \cos \left (d x + c\right )^{\frac {5}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {1}{{\cos \left (c+d\,x\right )}^{5/2}\,{\left (a+a\,\cos \left (c+d\,x\right )\right )}^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {\int \frac {1}{\cos ^{\frac {9}{2}}{\left (c + d x \right )} + 2 \cos ^{\frac {7}{2}}{\left (c + d x \right )} + \cos ^{\frac {5}{2}}{\left (c + d x \right )}}\, dx}{a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________